package com.ruben.state.example;

import java.util.Map;

/**
 * 审核状态公共接口
 *
 * @author <achao1441470436@gmail.com>
 * @since 2021/10/17 18:43
 */
public interface ApprovalStatus {
    String CONTENT = "content";
    String STATUS = "status";


    /**
     * 审核
     *
     * @param param 参数
     * @return 结果
     */
    Map<String, Object> execute(Map<String, Object> param);


    /**
     * 设置操作类
     *
     * @param executor 操作类
     */
    void setExecutor(ApprovalExecutor executor);
}
